package com.hualan.mapper;

import com.hualan.domain.Courseproblem;

import java.util.List;

/**
* @author 29524
* @description 针对表【courseproblem(课程问题表，存储用户对课程提出的问题)】的数据库操作Mapper
* @createDate 2024-09-06 15:35:09
* @Entity com.hualan.domain.Courseproblem
*/
public interface CourseproblemMapper {

//    查询全部用户问题 的回复
    List<Courseproblem> selectAllCourseProblemAndReply(int userId);

    int deleteByPrimaryKey(Long id);

    int insert(Courseproblem record);

    int insertSelective(Courseproblem record);

    Courseproblem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Courseproblem record);

    int updateByPrimaryKey(Courseproblem record);

    //查看所有问题
    List<Courseproblem> selectAllCourseProblem();
}
